package com.buer.train.business.service;

import com.buer.train.business.dto.DocDTO;

import java.util.Map;

public interface EsService {

    int add(DocDTO docDTO);

    int update(DocDTO docDTO);

    int delete(Integer id);

    Map<String, Object> searchByPage(String keywords, int pageNum, int pageSize);
}
